package com.xxg.renrenproduct.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 带货商品参数
 *
 * @author szj
 * @date 2021/12/1
 */
@Data
@ApiModel(value = "CarryProductQuery", description = "带货商品参数")
public class CarryProductQuery {
    @NotNull(message = "spuId不能为null")
    @ApiModelProperty(value = "商品Id")
    private Integer spuId;
    @NotNull(message = "carryRatio不能为null")
    @ApiModelProperty("带货系数")
    private Double carryRatio;
    @NotNull(message = "categoryIds不能为null")
    @ApiModelProperty(value = "分类id")
    private List<Integer> categoryIds;
}
